// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeSQLLogReportsResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeSQLLogReportsResponse::DescribeSQLLogReportsResponse() {
}

const string& DescribeSQLLogReportsResponse::SQLReport::GetSQLText(void) const {
  return SQLText_;
}

const string& DescribeSQLLogReportsResponse::SQLReport::GetTotalExecutionCounts(void) const {
  return TotalExecutionCounts_;
}

const string& DescribeSQLLogReportsResponse::SQLReport::GetReturnTotalRowCounts(void) const {
  return ReturnTotalRowCounts_;
}

const string& DescribeSQLLogReportsResponse::SQLReport::GetTotalExecutionTimes(void) const {
  return TotalExecutionTimes_;
}

const std::vector<DescribeSQLLogReportsResponse::SQLReport>& DescribeSQLLogReportsResponse::GetItems(void) const {
  return Items_;
}

const string& DescribeSQLLogReportsResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

const string& DescribeSQLLogReportsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

const string& DescribeSQLLogReportsResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeSQLLogReportsResponse::BaseKey(void) {
  return "DescribeSQLLogReportsResponse";
}

void DescribeSQLLogReportsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeSQLLogReportsResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].SQLText_, response_map, "DescribeSQLLogReportsResponse.Items["+string_ValueOfInt(i1)+"].SQLText");
      UnmarshallerString(Items_[i1].TotalExecutionCounts_, response_map, "DescribeSQLLogReportsResponse.Items["+string_ValueOfInt(i1)+"].TotalExecutionCounts");
      UnmarshallerString(Items_[i1].ReturnTotalRowCounts_, response_map, "DescribeSQLLogReportsResponse.Items["+string_ValueOfInt(i1)+"].ReturnTotalRowCounts");
      UnmarshallerString(Items_[i1].TotalExecutionTimes_, response_map, "DescribeSQLLogReportsResponse.Items["+string_ValueOfInt(i1)+"].TotalExecutionTimes");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerString(TotalRecordCount_, response_map, "DescribeSQLLogReportsResponse.TotalRecordCount");
  UnmarshallerString(PageNumber_, response_map, "DescribeSQLLogReportsResponse.PageNumber");
  UnmarshallerString(PageRecordCount_, response_map, "DescribeSQLLogReportsResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
